
<include file="__THEME__/header" />

<link href="../Public/notify.css" rel="stylesheet" type="text/css" />

<script>

<php>if($_GET["uid"]){</php>
    $(function(){
		//指定发给某人
		var uid = {.uid}?{.uid}:"";
		if(uid){
			$(".ui-fs-input").remove();
			var image = "{$toUserFace}";
			var name  = "{$toUserName}";
			$(".ui-fs-result").append("<a href='javascript:void(0)' ><img width='20' height='20' src='" + image + "' title='" + name + "' alt='' />" + name + "</a>");
            $("#ui_fri_ids").val(uid);
		}   
    });
<php>}</php>



</script>

<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"><!-- 画布 begin  -->

        

        <div class=page_title> <!-- page_title begin -->
            <h2><img src="../Public/images/mail_write.gif" />消息</h2>
        <div class="c"></div>
</div><!-- page_title end -->
        <div class="tab-menu"><!-- 切换标签 begin  -->
            <ul>
                <li><a href="__URL__/inbox"><span>收件箱</span></a></li>
                <li><a href="__URL__/send"><span>发件箱</span></a></li>
                <li><a href="__URL__/index"><span>通知</span></a></li>
                <li><a href="__URL__/write" class="on"><span><div class="ico_add">&nbsp;</div>写短消息</span></a></li>
            </ul>
        </div><!-- 切换标签 end  -->

        <div class="BlogBox">
            <div class="MList" style="width:640px;"><!-- 写短消息 begin  -->
            <div class="mt10 f14px lh30 cGray2"><strong>发送私密对话</strong></div>
                <form method="post" action="__URL__/doSend"  class="form_validator">
                    <ul>
                        <li>
                            <div class="left lh25 fB alR" style="width: 10%;"><strong>发送给：</strong></div>
                            <div class="left" style="width: 408px;">

                                {:W("SelectFriend")}


                                <!--<input type="text" class="TextH20" style="width:70%" onBlur="this.className='TextH20'" onFocus="this.className='Text2'"/>-->
                            </div>
                        </li>
                        <li>
                            <div class="left lh25 fB alR" style="width: 10%;"><strong>主题</strong>：</div>
                            <div class="left" style="width: 90%;">
                                <input type="text" class="TextH20" style="width:70%" onBlur="this.className='TextH20'" onFocus="this.className='Text2'" name="subject" dataType="LimitB" min="1" max="30"  msg="标题内容必须在[1,30]个字节之内" />
                            </div>
                        </li>
                        <li>
                            <div class="left lh25 fB alR" style="width: 10%;">内容：</div>
                            <div class="left" style="width: 90%;">
                                <textarea cols="" rows="15" style="width:99%" class="Text" onBlur="this.className='Text'" onFocus="this.className='Text1'" name="content" dataType="LimitB" min="1" max="1000" msg="内容必须在[1，1000]个字节之内" ></textarea>
                            </div>
                        </li>
                        <li>
                            <div class="left lh25 fB" style="width: 10%;">&nbsp;</div>
                            <div class="left" style="width: 90%;">
                                <input type="submit" class="btn_b" value="发 送"/>
                                <input type="button" class="btn_w" onclick="history.back(-1);"value="取 消" />
                            </div>
                        </li>
                    </ul>
                </form>
            </div>
            <!-- 发短消息 end  -->
        </div>






    </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
